<template>
  <!-- 名称：<input type="text" v-model.lazy="goods.name"><br><br> -->
  名称：<input type="text" v-model.trim="goods.name"><br><br>
  价格：<input type="text" v-model.number="goods.price"><br><br>
</template>

<script setup>
  import { reactive } from 'vue'
  const goods = reactive({
    name: "",
    price: ""
  })
</script>

<style scoped>

</style>